#include<stdio.h> 
int main()
{
	int a = 0, b = 0, c = 0;
	int t = 0;
	scanf("%d %d %d", &a, &b, &c);
	if ( a > b) {
		t = a;
		a = b;
		b = t;
	}
	if ( b > c ) {
		t = b;
		b = c;
		c = t;		
	}
	if ( a > b) {
		t = a;
		a = b;
		b = t;
	}
	if ( a + b > c && c - a < b ) {
		if ( a == b && b == c) {
			printf("Equilateral");
		}
		else if ( a*a + b*b == c*c ) {
			printf("Right");
		}
		else {
			printf("General");
		}
	}
	else {
		printf("NO");
	}
	return 0;
}
